package com.fishery.base.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author Ghost
 * @since 2021-01-15
 */
@TableName("t_pond_feeding")
@ApiModel(value = "PondFeeding对象", description = "")
public class PondFeeding implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;

	@ApiModelProperty(value = "池塘编号")
	private String pondId;

	@ApiModelProperty(value = "养殖编号")
	private String farmingId;

	@ApiModelProperty(value = "操作人姓名")
	private String operatorName;

	@ApiModelProperty(value = "操作人身份")
	private String operatorIdentity;

	@ApiModelProperty(value = "投入品名称")
	private String supplyName;

	@ApiModelProperty(value = "投入品类型（渔药，饲料,..）")
	private String supplyType;

	@ApiModelProperty(value = "投放量(kg)")
	private BigDecimal feedingVolume;

	@ApiModelProperty(value = "投入品来源信息ID")
	private String supplyId;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "版本号（乐观锁）", hidden = true)
	@Version
	@TableField(fill = FieldFill.INSERT)
	private Integer version;

	@ApiModelProperty(value = "逻辑删除（0未删除，1删除）", hidden = true)
	@TableLogic
	@TableField(fill = FieldFill.INSERT)
	private Integer isDeleted;

	@ApiModelProperty(value = "喂养时间")
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;

	@ApiModelProperty(value = "修改时间")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date gmtModified;

	@ApiModelProperty(value = "基地编号")
	private String baseId;

	@ApiModelProperty(value = "仓库号")
	private String warehouseNumber;

	public String getFarmingId() {
		return farmingId;
	}

	public void setFarmingId(String farmingId) {
		this.farmingId = farmingId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPondId() {
		return pondId;
	}

	public void setPondId(String pondId) {
		this.pondId = pondId;
	}

	public String getOperatorName() {
		return operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public String getOperatorIdentity() {
		return operatorIdentity;
	}

	public void setOperatorIdentity(String operatorIdentity) {
		this.operatorIdentity = operatorIdentity;
	}

	public String getSupplyName() {
		return supplyName;
	}

	public void setSupplyName(String supplyName) {
		this.supplyName = supplyName;
	}

	public String getSupplyType() {
		return supplyType;
	}

	public void setSupplyType(String supplyType) {
		this.supplyType = supplyType;
	}

	public BigDecimal getFeedingVolume() {
		return feedingVolume;
	}

	public void setFeedingVolume(BigDecimal feedingVolume) {
		this.feedingVolume = feedingVolume;
	}

	public String getSupplyId() {
		return supplyId;
	}

	public void setSupplyId(String supplyId) {
		this.supplyId = supplyId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getBaseId() {
		return baseId;
	}

	public void setBaseId(String baseId) {
		this.baseId = baseId;
	}

	public String getWarehouseNumber() {
		return warehouseNumber;
	}

	public void setWarehouseNumber(String warehouseNumber) {
		this.warehouseNumber = warehouseNumber;
	}
}
